<?php

namespace app\crontab;

use app\task\CloudTask;
use zhanshop\App;
use zhanshop\Crontab;

class CloudappStatCrontab extends Crontab
{
    public function configure()
    {
        $this->setTitle("每5分钟执行一次")->interval(300);
    }

    public function execute()
    {
        App::task(CloudTask::class)->appStats();
        App::task(CloudTask::class)->devopsStatus();
    }
}